home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTIIIIMMMMEEEEXXXX((((1111)))) TTTTIIIIMMMMEEEEXXXX((((1111))))
-
-
-
- NNNNAAAAMMMMEEEE
- timex - time a command; report process data and system activity
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ttttiiiimmmmeeeexxxx [options] command
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The given _c_o_m_m_a_n_d is executed; the elapsed time, user time and system
- time spent in execution are reported in seconds. Optionally, process
- accounting data for the _c_o_m_m_a_n_d and all its children can be listed or
- summarized, and total system activity during the execution interval can
- be reported.
-
- The output of _t_i_m_e_x is written on standard error.
-
- _O_p_t_i_o_n_s are:
-
- ----pppp List process accounting records for _c_o_m_m_a_n_d and all its children.
- Suboptions ffff,,,, hhhh,,,, kkkk,,,, mmmm,,,, rrrr,,,, and tttt modify the data items reported. The
- options are as follows:
-
- ----ffff Print the _f_o_r_k/_e_x_e_c flag and system exit status columns
- in the output.
-
- ----hhhh Instead of mean memory size, show the fraction of total
- available CPU time consumed by the process during its
- execution. This ``hog factor'' is computed as:
- (total CPU time)/(elapsed time)
-
- ----kkkk Instead of memory size, show total kcore-minutes.
-
- ----mmmm Show mean core size (the default).
-
- ----rrrr Show CPU factor (user_time/(system_time + user_time)).
-
- ----tttt Show separate system and user CPU times. The number of
- blocks read or written and the number of characters
- transferred are always reported.
-
- ----oooo Report the total number of blocks read or written and total
- characters transferred by _c_o_m_m_a_n_d and all its children.
-
- ----ssss Report total system activity (not just that due to _c_o_m_m_a_n_d) that
- occurred during the execution interval of _c_o_m_m_a_n_d. All the data
- items listed in _s_a_r(1) are reported.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- sar(1).
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- TTTTIIIIMMMMEEEEXXXX((((1111)))) TTTTIIIIMMMMEEEEXXXX((((1111))))
-
-
-
- WARNING
- Process records associated with _c_o_m_m_a_n_d are selected from the accounting
- file ////vvvvaaaarrrr////aaaaddddmmmm////ppppaaaacccccccctttt by inference, since process genealogy is not
- available. Background processes having the same user-id, terminal-id,
- and execution time window will be spuriously included.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEESSSS
- A simple example:
-
- timex -ops sleep 60
-
- A terminal session of arbitrary complexity can be measured by timing a
- sub-shell:
-
- timex -opskmt sh
-
- session commands
- EOT
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-